<%@page import="com.reachol.objects.Erman"%>
<%@page import="org.apache.xerces.validators.datatype.YearDatatypeValidator"%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.jimet.server.*"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>DBForm</title>
<link rel="stylesheet" type="text/css" href="<%=JimetConfiguration.getString("APPLICATION.URL")%>common/style/site.css">
<link rel="stylesheet" type="text/css" href="<%=JimetConfiguration.getString("APPLICATION.URL")%>common/style/bootstrap.min.css">
</head>
<body>

	<script src="<%=JimetConfiguration.getString("APPLICATION.URL")%>common/scripts/jquery-1.9.1.min.js"></script>	
	
	<div id="dbContainer" style="width:960px;margin-left:auto;margin-right:auto;display:table;">
		<div class="sign-form">
			<div class="reach-desc"style="margin-top:30px;padding-top:30px;padding-bottom:30px;">
				Lütfen tablo ismini ve kolon sayısını giriniz 
			</div>
			<div id="big-form-area" class="big-form-area">
				<div style="width:90%;margin-left:auto;margin-right:auto;display:table;">
					<input type="text" id="name" style="width:100%;color:#000;"  placeholder="Tablo adı">
					<input type="text" id="counttab" style="width:100%;color:#000;" placeholder="Kolon sayısı">
					<button class="btn btn-large btn-block btn-success"  type="button" onclick="dbForm()">Devam</button>
				</div>
			</div>
			
		</div>
	</div>
</body>
</html>
<script>
	function dbForm()
	{
		var name = $("#name").val();
		var counttab =  $("#counttab").val();
		
		$( "#dbContainer" ).load( "process/getDbProcess.jsp?name="+name+"&tablo="+counttab );
	}
</script>
